#include <memory>
#include "selectServer.hpp"


int main(int argc, char* argv[])
{
    std::cout << num << std::endl;
    if(argc != 2)
    {
        std::cout << "Usage:\n\t" << argv[0] << " port"<< std::endl;
        return 1;
    }
    uint16_t localport = std::stoi(argv[1]);
    std::shared_ptr<selectServer> selectSvr = std::make_shared<selectServer>(localport);
    
    selectSvr->InitServer();
    selectSvr->Loop();
     
    return 0;
}